<%@ include file="../../base/include.jsp"%>

<td class="property-name">${property.name}</td>

<td class="property-value">${property.minValue}</td>

<td class="property-value">${property.maxValue}</td>

<td class="property-value">${property.defaultValue}</td>

<td class="property-input">
	<input id="input_${property.name}" type="text"
		onKeyPress="handleKeyPress(event, '${property.name}');" 
		value="${property.customValue}"
		<c:if test="${property.customValue == null}">
			placeholder="undefined"
		</c:if>
	/>
	<c:choose>
	<c:when test="${error != null}">
		<div class="alert alert-error">
			<button class="close" data-dismiss="alert">&times;</button>
			${error}
		</div>
	</c:when>
	<c:when test="${message != null}">
		<div class="alert alert-success">
			<button class="close" data-dismiss="alert">&times;</button>
			${message}
		</div>
	</c:when>
	</c:choose>
</td>

<td>${property.description}</td>

<td>
	<button class="btn btn-small" onClick="changeValue('${property.name}')">Change</button>
</td>
